package com.example.demo.enums;


import lombok.AllArgsConstructor;
import lombok.Data;


public enum OrderEnum {


    LOCK(1,"已锁定"),

    CONFIRM(2,"已确认"),

    PAYED(3,"已付款");


    private Integer key;

    private String desc;


    OrderEnum(Integer key,String desc){
        this.key = key;
        this.desc = desc;
    }


    public Integer getKey() {
        return key;
    }

    public String getDesc() {
        return desc;
    }
}
